
import indexConfig from './index.config.js';
const IMG_URL = indexConfig.static_url;

export default {
	// app应用名称
	appName: ' aijiacms',
	// 分站
	appCity: '',
	// 客服电话
	appTelephone: '1388888887',
 

	// 购物车在tab的位置
	cartIndex: 2,

	// 消息在tab的位置
	notifyIndex: 3,

	// 验证码发送间隔
	sendCodeTime: 60,

	// 金额符号
	moneySymbol: '￥',

	// 单商品替代词
	singleSkuText: '基础款',

	defaultUserPic: '基础款',
	// 顶部导航菜单
	
	// 首页导航
	navList: [
		
		{icon: IMG_URL +'/images/sale.png', url: '/pages/sale/list', title: '二手房', color: '#ff6b81'},
		{icon: IMG_URL +'/images/rent.png', url: '/pages/rent/list', title: '租房', color: '#ff6b81'},
		{icon: IMG_URL +'/images/news.png', url: '/pages/news/list', title: '资讯', color: '#ff6b81'},
		{icon: IMG_URL +'/images/xiaoqu.png', url: '/pages/xiaoqu/list', title: '小区', color: '#ff6b81'},
		
		
		{icon: IMG_URL +'/images/jsq.png', url: '/pages/calculator/index/index', title: '计算器', color: '#ff6b81'},
		
		
	],

	// 发布页面导航
		publishList: [
		{icon: IMG_URL +'/images/mysale.png', url: '/pages/user/sale/add', title: '我要卖房', color: '#ff6b81'},
		//{icon: IMG_URL +'/images/myrent.png', url: '/pages/user/rent/add', title: '我要出租', color: '#ff6b81'},
		
	],
	
	// 个人中心-设置中心菜单 e07472 ff4757 ff6b81
	settingList: [
		{icon: 'iconziliaoguanli', url: '/pages/user/sale/list', title: '我要卖房', color: '#ff6b81'},
		//{icon: 'iconyouhuiquan-copy', url: '/pages/user/rent/add', title: '我要出租', color: '#ff6b81'},
		{icon: 'icongonggao', url: '/pages/index/notice/notice', title: '公告', color: '#ff6b81'},
		{icon: 'iconshoucang3', url: '/pages/user/collection/collection', title: '我的收藏', color: '#ff6b81'},
		{icon: 'iconfenxiang', url: '', title: '分享', color: '#ff6b81'},
		{icon: 'iconshezhi3', url: '/pages/set/set', title: '设置', color: '#ff6b81'}
	],

	// 设置-设置中心
	setList: [
		{
			title: '个人资料',
			url: '/pages/user/userinfo/userinfo',
			content: ''
		},
		
		
		
		
		{title: '清除缓存', url: 'clearCache', content: ''},
		
		
		
		/*  #ifdef APP-PLUS  */
		{title: '检查更新', url: 'versionUpgrade', content: ''},
		/*  #endif  */
		//{title: '意见反馈', url: '/pages/set/feedback/list', content: ''}
	],

	
	

	// 个人中心-积分余额
	amountList: [
		//{title: '余额', value: 0, url: '/pages/user/account/account'},
		{title: '消息', value: 0, url: '/pages/notify/notify'},
		{title: '积分', value: 0, url: ''}
	],


	

    // 终端类型值
    application_client_type() {
        var value = '';
        // #ifdef MP-WEIXIN
            value = 'weixin';
        //#endif
        // #ifdef MP-ALIPAY
            value = 'alipay';
        //#endif
        // #ifdef MP-BAIDU
            value = 'baidu';
        //#endif
        // #ifdef MP-QQ
            value = 'qq';
        //#endif
        // #ifdef MP-TOUTIAO
            value = 'toutiao';
        //#endif
        // #ifdef MP-KUAISHOU
            value = 'kuaishou';
        //#endif
        // #ifdef H5
            value = 'h5';
        //#endif
        return value;
    },

	// 热门推荐
	hotRecommendList: [
		{
			url: '/pages/house/list',
			icon: IMG_URL +'/images/tuijian.png',
			title: '好房推荐',
			desc: '好房推荐'
		},
		{
			url: '/pages/zhaofang/zhaofang',
			icon: IMG_URL +'/images/zhaofang.png',
			title: '帮你找房',
			desc: '帮你找房'
		},
		{
			url: '/pages/sale/list',
			icon: IMG_URL +'/images/maifang.png',
			title: '租房',
			desc: '租房'
		}
		
	],
	maps: [
		{
			name: 'qqmap',
			key: 'MT5BZ-BIN6J-FEIFH-KXJOS-TBT4F-GMFZ2'
		}
	],

	// 消息类型 1:公告;2:提醒;3:私信
	notifyTypeList: [
		{type: 0, content: ''},
		{type: 1, content: '公告'},
		{type: 2, content: '提醒'},
		{type: 3, content: '私信'}
	],
	

	// 主题列表
		themeList: [
					{
						title: '官方',
						name: 'rf',
						color: '#fa436a',
						bgcolor: '#ffefe5',
						tabList: [
							IMG_URL +'/tab-home-rf.png',
							IMG_URL +'/tab-cate-rf.png',
							IMG_URL +'/tab-fabu-rf.png',
							IMG_URL +'/tab-notify-rf.png',
							IMG_URL +'/tab-my-rf.png'
						]
					},
					{
						title: '嫣红',
						name: 'red',
						color: '#e54d42',
						bgcolor: '#ffefe5',
						tabList: [
							IMG_URL +'/tab-home-red.png',
							IMG_URL +'/tab-cate-red.png',
							IMG_URL +'/tab-fabu-red.png',
							IMG_URL +'/tab-notify-red.png',
							IMG_URL +'/tab-my-red.png'
						]
					},
					{
						title: '桔橙',
						name: 'orange',
						color: '#f37b1d',
						bgcolor: '#ffa800',
						tabList: [
							IMG_URL +'/tab-home-orange.png',
							IMG_URL +'/tab-cate-orange.png',
							IMG_URL +'/tab-fabu-orange.png',
							IMG_URL +'/tab-notify-orange.png',
							IMG_URL +'/tab-my-orange.png'
						]
					},
					{
						title: '明黄',
						name: 'yellow',
						color: '#fbbd08',
						bgcolor: '#ffdfd4',
						tabList: [
							IMG_URL +'/tab-home-yellow.png',
							IMG_URL +'/tab-cate-yellow.png',
							IMG_URL +'/tab-fabu-yellow.png',
							IMG_URL +'/tab-notify-yellow.png',
							IMG_URL +'/tab-my-yellow.png'
						]
					},
					{
						title: '橄榄',
						name: 'olive',
						color: '#8dc63f',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-olive.png',
							IMG_URL +'/tab-cate-olive.png',
							IMG_URL +'/tab-fabu-olive.png',
							IMG_URL +'/tab-notify-olive.png',
							IMG_URL +'/tab-my-olive.png'
						]
					},
					{
						title: '森绿',
						name: 'green',
						color: '#39b54a',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-green.png',
							IMG_URL +'/tab-cate-green.png',
							IMG_URL +'/tab-fabu-green.png',
							IMG_URL +'/tab-notify-green.png',
							IMG_URL +'/tab-my-green.png'
						]
					},
					{
						title: '天青',
						name: 'cyan',
						color: '#1cbbb4',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-cyan.png',
							IMG_URL +'/tab-cate-cyan.png',
							IMG_URL +'/tab-fabu-cyan.png',
							IMG_URL +'/tab-notify-cyan.png',
							IMG_URL +'/tab-my-cyan.png'
						]
					},
					{
						title: '海蓝',
						name: 'blue',
						color: '#0081ff',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-blue.png',
							IMG_URL +'/tab-cate-blue.png',
							IMG_URL +'/tab-fabu-blue.png',
							IMG_URL +'/tab-notify-blue.png',
							IMG_URL +'/tab-my-blue.png'
						]
					},
					{
						title: '姹紫',
						name: 'purple',
						color: '#6739b6',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-purple.png',
							IMG_URL +'/tab-cate-purple.png',
							IMG_URL +'/tab-fabu-purple.png',
							IMG_URL +'/tab-notify-purple.png',
							IMG_URL +'/tab-my-purple.png'
						]
					},
					{
						title: '木槿',
						name: 'mauve',
						color: '#9c26b0',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-mauve.png',
							IMG_URL +'/tab-cate-mauve.png',
							IMG_URL +'/tab-fabu-mauve.png',
							IMG_URL +'/tab-notify-mauve.png',
							IMG_URL +'/tab-my-mauve.png'
						]
					},
					{
						title: '桃粉',
						name: 'pink',
						color: '#e03997',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-pink.png',
							IMG_URL +'/tab-cate-pink.png',
							IMG_URL +'/tab-fabu-pink.png',
							IMG_URL +'/tab-notify-pink.png',
							IMG_URL +'/tab-my-pink.png'
						]
					},
					{
						title: '棕褐',
						name: 'brown',
						color: '#a5673f',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-brown.png',
							IMG_URL +'/tab-cate-brown.png',
							IMG_URL +'/tab-fabu-brown.png',
							IMG_URL +'/tab-notify-brown.png',
							IMG_URL +'/tab-my-brown.png'
						]
					},
					{
						title: '玄灰',
						name: 'grey',
						color: '#8799a3',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-grey.png',
							IMG_URL +'/tab-cate-grey.png',
							IMG_URL +'/tab-fabu-grey.png',
							IMG_URL +'/tab-notify-grey.png',
							IMG_URL +'/tab-my-grey.png'
						]
					},
					{
						title: '草灰',
						name: 'gray',
						color: '#aaaaaa',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-gray.png',
							IMG_URL +'/tab-cate-gray.png',
							IMG_URL +'/tab-fabu-gray.png',
							IMG_URL +'/tab-notify-gray.png',
							IMG_URL +'/tab-my-gray.png'
						]
					},
					{
						title: '墨黑',
						name: 'black',
						color: '#333333',
						bgcolor: '#F6F8FB',
						tabList: [
							IMG_URL +'/tab-home-black.png',
							IMG_URL +'/tab-cate-black.png',
							IMG_URL +'/tab-fabu-black.png',
							IMG_URL +'/tab-notify-black.png',
							IMG_URL +'/tab-my-black.png'
						]
					}
				]
	};
